﻿using System;
using System.Collections.Generic;

namespace TinyAsset.Editor
{
    public class BuildContext
    {
        public BuildSetting buildSetting;

        public Version AppVersion;

        public Version ResVersion;

        public string companyName = "Demo";

        public string productName = "Demo";

        public string buildResFolder;

        public string buildAssetBundlePath;

        public string PlayerLocation;

        public string ManifestLocation;

        public Dictionary<string, AssetBundleBuildNode> assetBundles;

        public Dictionary<string, string> nativeAssets;
    }

    public class AssetBundleBuildNode
    {
        public string TagName;

        public string AssetBundleName;

        public Dictionary<string, AssetBundleBuildNode> Children = new Dictionary<string, AssetBundleBuildNode>();

        public Dictionary<string, AssetBundleBuildNode> Parent = new Dictionary<string, AssetBundleBuildNode>();

        public List<string> Individual = new List<string>();

        public List<string> Assets = new List<string>();
    }
}